package cn.lingyangwl.agile.system.model.rqrs.area;

import cn.lingyangwl.agile.model.constants.ValidationCons;
import io.swagger.annotations.ApiModel;
import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.Size;

/**
 * 行政区划
 *
 * @author shenguangyang
 */
@Getter
@Setter
@ApiModel(value = "行政区划")
public class AreaSaveReq extends AreaBase {
    @NotEmpty(message = ValidationCons.NOT_EMPTY)
    @Size(max = 32, message = "区域代码最长为 32")
    private String id;
}
